We use cookies on this website. To find out more about cookies and how they are used on this website, see our Privacy Policy.
By clicking ‘Continue’, you hereby agree with our use of cookies.

{{vmH.selected.familySearch.replace("EonStor ", "")}} Maintenance Guide

{{vmH.selected.familySearch.replace("EonStor ", "")}} User Guide

Maintenance Guide

Backing up Kubernetes Resources

KS / KS 5000U / KSa 5016U

Note:

When the resources that you want to back up including a PV, to successfully back up data, do the following:

  • The bind status of the persistent volume claim (PVC) and the PV must be “Bound”.
  • The PVC is used by a running pod.
  • Back up the corresponding pod, PVC, and PV together.
  • Stop data I/O to this PV before backup. This can ensure that the data is completely backed up and prevent incomplete restoration. If you want specific actions to perform before the backup starts or after the backup finishes, you can set up a rule. For example, you may want a specific service stops before starting the backup. After the backup is completed, the service can automat-ically resume. For more information about creating a rule, see Backup rules.

Procedure

  1. Go to EonOne for KS > Settings > Backup & restore > Backup.
  2. For the resource type, select Kubernetes resources.
  3. Select one or more namespaces to be backed up. To find a specific namespace and related resources, you can click the dropdown menu of the resource type, or filter resources by labels on them. On the filter field, enter the key and value. For example, “app=mysql”.
  4. To view and check the resources within a specific namespace, click All resources.
  5. By default, all resources related to this namespace are selected and will be included into the backup task. To exclude a specific one, click the resource to exclude it.
  6. Click Backup to configure the task name and schedule.
  7. Go to Add a backup page. Specify the following information:
    • Cluster-scoped resources: Some resources are not associated with any namespace. If such resources are selected, this item will be indicated as “Included”. If all selected re-sources are associated with certain namespaces, this item will be indicated as “Ex-cluded”.
    • Namespace: One or more namespaces that associated with the selected apps.
    • Backup name: Specify an identifying name for the task.
    • Backup destination: Choose a location that backup data will be saved to. If needed, you can add a destination by clicking +. For more information, see Adding a Backup Destination.
    • Activate frequency: Choose the activate frequency as Once, Daily, Several times in a day, Weekly, or Monthly.
      • When you select Daily, choose the start time and end time to specify the period of time.
      • When you select Several Times in a Day, choose the interval.
      • When you select Weekly or Monthly, choose one or more days.
    • Backup start time: When you select once, you can choose to Start now or By sched-ule. When you select Daily / Several times in a day / Weekly / Monthly, select the date and time.
    • Backup retention period: Specify how long the backup will be retained.
    • Maximum execution time: Specify the time period that the task is allowed to execute. The default is 4 hours. If you expect the processing time of this backup task will be longer than 4 hours, specify the time.
    • Pre-backup/Post-backup rule: Choose a rule to execute before the backup starts / af-ter the backup completes. For more information about adding a rule, see Adding a Backup Rule.
  8. Click OK to complete the settings. The backup task will be displayed in the list in Backup & restore > Restore.
Note:

When backing up a PV, resume data I/O after the task is completed.